package com.damie.common.paramer;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author ls
 * @since 2021-01-26
 */
@Data
  @EqualsAndHashCode(callSuper = false)
    @TableName("t_user")
@ApiModel(value="User对象", description="")
public class UserParamer implements Serializable {

    private static final long serialVersionUID = 1L;

      @ApiModelProperty(value = "用户id")
      @TableId(value = "user_id", type = IdType.ASSIGN_ID)
      private String userId;

      @ApiModelProperty(value = "用户绑定微信号")
      private String userAccount;

      @ApiModelProperty(value = "用户密码（可无）")
      private String userPassword;

      @ApiModelProperty(value = "用户联系电话")
      private String userTel;

      @ApiModelProperty(value = "1为正常启用状态/2为非启用状态")
      private Integer userStatus;

      @ApiModelProperty(value = "用户创建时间")
      private Date userCreateTime;

      @ApiModelProperty(value = "用户最后一次修改时间")
      private Date userUpdateTime;

      @ApiModelProperty(value = "冗余字段默认为普通用户1，站点人员2")
      private Integer userRole;

      @ApiModelProperty(value = "冗余字段，头像地址")
      private String userPicture;

      @ApiModelProperty(value = "积分")
      private double userIncome;

      @ApiModelProperty(value = "盐")
      private String salt;


}
